﻿using System;
using System.Collections;
using System.Drawing;

namespace TextEditor
{
    

    public interface IZYContentDocument
    {
        void ContentChanged();
        int isDeleteElement(ZYTextElement myElement);
        void SelectionChanged(int s1, int e1, int s2, int e2);

        void DrawDocument(Graphics g, Rectangle ClipRectangle);
        void DrawFooter(Graphics g, Rectangle ClipRectangle);
        void DrawHead(Graphics g, Rectangle ClipRectangle);

        ArrayList Lines { get; }
    }
}

